package com.example.service.usercoupon;

import com.example.enums.Status;
import com.example.pojo.BeforeuserAndCoupon;
import com.example.pojo.Usercoupon;

import java.util.List;

public interface UserCouponService {
    List<Usercoupon> getAll(Usercoupon usercoupon);
    Status UpdateOnline(Integer id, Integer code);
    boolean addCoupon(Usercoupon usercoupon);
    boolean deleteCoupon(Integer id);
    List<BeforeuserAndCoupon> getUserCoupon(String account,String nikename);
    boolean giveCoupon(List<Usercoupon> coupons);
}
